home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / forest / sunset_light.tcl < prev    next >
Encoding:
Text File  |  2001-09-09  |  1.2 KB  |  35 lines

  1. objset :course \
  2.     {-light0_on} {1} \
  3.     {-light0_ambient} {0.439999997616 0.469999998808 0.509999990463 1.0} \
  4.     {-light0_diffuse} {0.370000004768 0.330000013113 0.230000004172 1.0} \
  5.     {-light0_position} {1.0 1.0 0.0 0.0}
  6.     
  7.  
  8.  
  9. tux_fog -on -mode linear -density 0.005 -colour { 0.28 0.29 0.19 1 } -start 0 \
  10.     -end [tux_get_param forward_clip_distance]
  11.  
  12.   
  13. #
  14. # Environmental sphere map
  15. tux_load_texture envmap ../forest/alpinesunset_right.png 0
  16.  
  17. tux_particle_colour { 0.85 0.83 0.73 1.0 }
  18.  
  19. tux_load_texture forest-front ../forest/alpinesunset_front.png 0
  20. tux_load_texture forest-right ../forest/alpinesunset_right.png 0
  21. tux_load_texture forest-left ../forest/alpinesunset_left.png 0
  22. tux_load_texture forest-back ../forest/alpinesunset_back.png 0
  23. tux_load_texture forest-top ../forest/alpinesunset_top.png 0
  24. tux_load_texture forest-bottom ../forest/alpinesunset_bottom.png 0
  25.  
  26. tux_bind_texture sky_front forest-front
  27. tux_bind_texture sky_right forest-right
  28. tux_bind_texture sky_left forest-left
  29. tux_bind_texture sky_back forest-back
  30. tux_bind_texture sky_top forest-top
  31. tux_bind_texture sky_bottom forest-bottom
  32.  
  33. objcreate {s_texture_cube} {:textures:cubemap} \
  34.     {-filename} {../forest/alpinesunset_}
  35.